﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Basic4Net.OAWeb.CustomControl
{
	public partial class IntellisenseControl : Basic4Net.OAWeb.Base.BaseUserControl
	{
		[DefaultValue("Assets")]
		public string IntellisenseType { get; set; }

		public int ResID
		{
			get {
				int id;
				return int.TryParse(txtIntellisense_ID.Text, out id) ? id : 0;
			}
			set { txtIntellisense_ID.Text = value.ToString(); }
		}

		public string ResName
		{
			get { return txtIntellisense.Text; }
			set { txtIntellisense.Text = value; }
		}

		protected void Page_Load(object sender, EventArgs e)
		{
		}
	}
}